package cn.com.surker.enums.sale;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * @Author lucky
 * @create 2024年07月19 10:08
 * @desc 垫资类型
 */
public enum ContractAdvanceTypeEnum implements ICodeDescEnum {

    BDZ(-1,"不垫资"), DZFL(0,"垫资方量"), DZJE(1,"垫资金额"),
    DZTS(2,"垫资天数");

    private final String description;

    private final Integer code;

    ContractAdvanceTypeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
